﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ElemenTable
{
    public class ChemElement
    {
        public string GroupName { get; set; }
        public int Number { get; private set; }
        public string Symbol { get; private set; }
        public string Name { get; set; }
        public double AtomicMass { get; private set; }
        public double Electronegativity { get; private set; }

        public int GroupNumber { get; set; }
        public int PeriodNumber { get; set; }
        public int[] OxidationNumbers { get; set; }
        public ElementState State { get; set; }
        public ElementType Attribute { get; set; }
        public double MeltingPoint { get; set; }
        public double BoilingPoint { get; set; }
        public string Configuration { get; set; }
        public string Description { get; set; }

        public ChemElement(string group, int number, string symbol, string name, double mass, double en)
        {
            GroupName = group;
            Number = number;
            Symbol = symbol;
            Name = name;
            AtomicMass = mass;
            Electronegativity = en;
        }
    }

    public enum ElementState
    {
        Solid = 0,
        Liquid = 1,
        Gas = 2
    }

    public enum ElementType
    {
        Stable = 0,
        Radioactive = 1,
        Synthetic = 2
    }
}
